package com.study.designPattern.create.singleton;

public enum EnumSingleton {
    // 枚举，只会有一个实例
    INSTANCE;

    public void whoAreU(String name, Integer age){
        System.out.println("my name is" + name + ", i am " + age + "years old!!");
    }
}
